package com.ilop.siteraudio.base;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;

import androidx.annotation.NonNull;

import com.ilop.siteraudio.R;

/**
 * @author skygge
 * @date 3/4/21.
 * GitHub：javofxu@github.com
 * email：skygge@yeah.net
 * description：
 */
public class LoadingDialog extends Dialog {

    public LoadingDialog(@NonNull Context context) {
        super(context, R.style.dialog_background);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout_loading_dialog);
        setCanceledOnTouchOutside(false);
    }
}
